package com.ncloud.crm.entity.order;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by shiqiang on 2017/4/12.
 */
@SuppressWarnings("serial")
public class OrderAttr implements Serializable{
    @JSONField(serializeUsing=ToStringSerializer.class)
    private Long id;
    private String modifyTag;
    private String attrType;
    private String attrCode;
    private String attrValue;
    @JSONField(serializeUsing=ToStringSerializer.class)
    private Long attrId;
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private Date beginDate;
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private Date endDate;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getModifyTag() {
        return modifyTag;
    }

    public void setModifyTag(String modifyTag) {
        this.modifyTag = modifyTag;
    }

    public String getAttrType() {
        return attrType;
    }

    public void setAttrType(String attrType) {
        this.attrType = attrType;
    }

    public String getAttrCode() {
        return attrCode;
    }

    public void setAttrCode(String attrCode) {
        this.attrCode = attrCode;
    }

    public String getAttrValue() {
        return attrValue;
    }

    public void setAttrValue(String attrValue) {
        this.attrValue = attrValue;
    }

    public Long getAttrId() {
        return attrId;
    }

    public void setAttrId(Long attrId) {
        this.attrId = attrId;
    }

    public Date getBeginDate() {
        return beginDate;
    }

    public void setBeginDate(Date beginDate) {
        this.beginDate = beginDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }
}
